Infection-Prediction Algorithm